let mongoose = require('mongoose');
let DB = mongoose.connect('mongodb://localhost/haogu228')

DB.then(() => {
	console.log('数据库链接成功');
}, () => {
	console.log('数据库连接失败');
})
